\usemodule[visual]

\setuppapersize[B5]
\setuplayout[width=fit,height=fit,backspace=10mm,cutspace=10mm,topspace=10mm,margin=10mm,header=10mm,footer=10mm]
\setuppagenumbering[location={header,right},style=\bfb]

\starttext
% % % ================== 各级标题初认识 ==================
% % % ================== 代码示例 - 1

\part{partname}
\chapter[chapter1]{Story A}
\section{Part 1}
\fakewords{80}{120}
\section{Part 2}
\fakewords{80}{120}
\chapter[chapter2]{Story B}
\fakewords{100}{200}

\stoptext